﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NDjango.Compatibility;
using NDjango.Interfaces;
using System.Globalization;

namespace MetaCollection.ContentService.Template
{
	[CLSCompliant(false)]
	public class ZoneTag : SimpleTag
	{
		public ZoneTag() : base(true, "zone", 2) { }

		public override string ProcessTag(IContext context, string content, object[] parms)
		{
			return String.Format(CultureInfo.CurrentCulture, "<ul id='{0}' class='zone' itemid='{1}'>{2}", parms[0], parms[1], content);
		}
	}
}
